Skip to content

Kconfig: make components a config options (cont.) - #991

Merged
mmaka1 merged 7 commits into
thesofproject:masterfrom
abonislawski:kconfig_components
Feb 28, 2019
Merged

mmaka1 merged 7 commits into
thesofproject:masterfrom
abonislawski:kconfig_components

Conversation

@abonislawski

Copy link
Copy Markdown
Member

Extended list of switchable components in kconfig menu.

(Continuation of the previous PR #955 )

@jajanusz jajanusz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I assume you tested each of components disabled separately because CI will only test with all ON

@abonislawski

Copy link
Copy Markdown
Member Author

LGTM. I assume you tested each of components disabled separately because CI will only test with all ON

Yes, all is okay. I forgot only to disable mixer tests, already force-pushed.

@mmaka1 mmaka1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that there are large unnecessary gaps between text/rodata/bss sections (as declared by the fw manifest) which come from the manual settings in the linker scripts. They would be relatively easy to reduce now but this PR would complicate it by adding many new text size definitions for the components.

Therefore let's remove static manual definition of the rodata+data base address and the bss address in the linker scripts by packing all hpsram sections to a one large segment defined in MEMORY{} w/ a proper page-size alignment so that they meet fw manifest criteria. Would be good to have a dedicated PR with the cleanup first and then new options for kconfig defined.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
@abonislawski

Copy link
Copy Markdown
Member Author

@mmaka1 I have removed memory.h changes and moved memory cleanup things to PR #1023

@mmaka1
mmaka1 merged commit 58e90d9 into thesofproject:master Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants